<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
  <meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE">
  <link rel="StyleSheet" href="../res/fit.css" type="text/css" media="screen, print">
  <title>Column Fixture Spec</title>
</head><body>
<h1>Column Fixture Spec</h1>
<p>
A simple example of a column fixture is the Division fixture. Another thing you
can see here, are all the different handler and type adapter features you can
use in such a fixture.
</p>

<table>
  <tbody>
    <tr><td colspan="2"><b>FIT.Specify</b></td></tr>
    <tr>
      <td>
        <!-- input table -->
        <table><tbody>
          <tr><td colspan="3"><b>FIT.eg.Division</b></td></tr>
          <tr><td> <i>numerator</i> </td><td> <i>denominator</i> </td><td> <i>quotient?</i> </td></tr>
          <tr><td> 6                </td><td> 3                  </td><td> 2                </td></tr>
          <tr><td> 3                </td><td> 1                  </td><td> &lt; 4           </td></tr>
          <tr><td> 3                </td><td> 1                  </td><td> &gt;= 3          </td></tr>
          <tr><td> 5                </td><td> 2                  </td><td> 2.5000           </td></tr>
          <tr><td> 6                </td><td> 2                  </td><td> ¿                </td></tr>
          <tr><td> ↑                </td><td> ↑                  </td><td> 3                </td></tr>
          <tr><td> 3                </td><td> 0                  </td><td> № skipped        </td></tr>
          <tr><td> № skipped        </td><td> skipped            </td><td> skipped          </td></tr>
          <tr><td> 1                </td><td> 0                  </td><td> ⚡ 1              </td></tr>
          <tr><td> 1                </td><td> 1                  </td><td> ⚡ 1              </td></tr>
          <tr><td> 4                </td><td> 2                  </td><td> © 3              </td></tr>
          <tr><td> © A              </td><td> B                  </td><td> C                </td></tr>
          <tr><td> λ 2 * 5          </td><td> λ 6 -1             </td><td> λ 1 + 1          </td></tr>
          <tr><td> 2                </td><td> 4                  </td><td> 8                </td></tr>
          <tr><td> 2                </td><td> 4                  </td><td> &gt 8            </td></tr>
          <tr><td> ∏ (4, 8)         </td><td> ∏ (1, 2)           </td><td> ¿                </td></tr>
          <tr><td> not a number     </td><td> 2                  </td><td> 4                </td></tr>
          <tr><td>                  </td><td> 2                  </td><td> 4                </td></tr>
          <tr><td> 7                </td><td> 0                  </td><td> 9                </td></tr>
          <tr><td> λ not perl ;)    </td><td> 1                  </td><td> 7                </td></tr>
        </tbody></table>
      </td>
      <td>
      <!-- output table -->
        <table><tbody>
          <tr><td colspan="3"><b>FIT.eg.Division</b></td></tr>
          <tr><td>                  <i>numerator</i> </td><td>                  <i>denominator</i> </td><td>                   <i>quotient?</i>                                                                                      </td></tr>
          <tr><td>                  6                </td><td>                  3                  </td><td class="fit_right"> 2                                                                                                     </td></tr>
          <tr><td>                  3                </td><td>                  1                  </td><td class="fit_right"> &lt; 4                                                                                                </td></tr>
          <tr><td>                  3                </td><td>                  1                  </td><td class="fit_right"> &gt;= 3                                                                                               </td></tr>
          <tr><td>                  5                </td><td>                  2                  </td><td class="fit_right"> 2.5000                                                                                                </td></tr>
          <tr><td>                  6                </td><td>                  2                  </td><td class="fit_note">  3                                                                                                     </td></tr>
          <tr><td>                  6                </td><td>                  2                  </td><td class="fit_right"> 3                                                                                                     </td></tr>
          <tr><td>                  3                </td><td>                  0                  </td><td class="fit_skip">  № skipped                                                                                             </td></tr>
          <tr class="fit_skip"><td> № skipped        </td><td>                  skipped            </td><td>skipped                                                                                                                  </td></tr>
          <tr><td>                  1                </td><td>                  0                  </td><td class="fit_right"> ⚡ 1                                                                                                   </td></tr>
          <tr><td>                  1                </td><td>                  1                  </td><td class="fit_wrong"> ⚡ 1                                                                                                   </td></tr>
          <tr><td>                  4                </td><td>                  2                  </td><td class="fit_known"> © 3                                                                                                   </td></tr>
          <tr class="fit_known"><td>© A              </td><td>                  B                  </td><td>                   C                                                                                                     </td></tr>
          <tr><td>                  10               </td><td>                  5                  </td><td class="fit_right"> 2                                                                                                     </td></tr>
          <tr><td>                  2                </td><td>                  4                  </td><td class="fit_wrong"> 8 <span class="fit_wrong_note">expected</span><hr>0.5 <span class="fit_wrong_note">actual</span>      </td></tr>
          <tr><td>                  2                </td><td>                  4                  </td><td class="fit_wrong"> &gt 8 <span class="fit_wrong_note">expected</span><hr>0.5 <span class="fit_wrong_note">actual</span> </td></tr>
          <tr><td class="fit_note"> 4                </td><td class="fit_note"> 1                  </td><td class="fit_note">  4                                                                                                    </td></tr>
          <tr><td class="fit_note"> 4                </td><td class="fit_note"> 2                  </td><td class="fit_note">  2                                                                                                    </td></tr>
          <tr><td class="fit_note"> 8                </td><td class="fit_note"> 1                  </td><td class="fit_note">  8                                                                                                    </td></tr>
          <tr><td class="fit_note"> 8                </td><td class="fit_note"> 2                  </td><td class="fit_note">  4                                                                                                    </td></tr>

          <tr>
            <td class="fit_error">ERROR</td>
            <td>2</td>
            <td class="fit_right">4</td>
          </tr>

          <tr>
            <td class="fit_error">ERROR</td>
            <td>2</td>
            <td class="fit_right">4</td>
          </tr>

          <tr>
            <td>7</td>
            <td>0</td>
            <td class="fit_error">ERROR</td>
          </tr>

          <tr>
            <td class="fit_error">ERROR</td>
            <td>1</td>
            <td class="fit_right">7</td>
          </tr>

        </tbody></table>
      </td>
    </tr>
  </tbody>
</table>

<br>
</body></html>
